package com.dongdongshop.service;

import com.dongdongshop.pojo.GoodsVO;
import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.pojo.TbItem;
import com.dongdongshop.util.PageBean;

import java.util.List;

public interface GoodService {
    void saveGoods(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc, List<TbItem> tbItemsd);

    PageBean<GoodsVO> getGoodsList(Integer pageNumber, Integer pageSize, TbGoods tbGoods);

    void getGoodsStatusById(Long[] ids);

    void rejectGoodsStatusById(Long[] ids);

    void updateStatusByIds(Long[] ids);

    void deleteBath(Long[] ids);

    PageBean<GoodsVO> getGoodsListAll(Integer pageNumber, Integer pageSize, TbGoods tbGoods);

    TbGoods findGoodsById(Long goodsId);
}
